﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Game.Client
{
    public partial class GameDeskClient : UserControl
    {
        private int _chairCount;
        private GameChairClient[] _chairArray;

        public GameDeskClient(int chaircount)
        {
            InitializeComponent();

            this._chairCount = chaircount;
            this._chairArray = new GameChairClient[chaircount];
            for (int i = 0; i < this._chairArray.Length; i++)
            {
                this._chairArray[i] = new GameChairClient();
                //Math.
                //this._chairArray[i].Location=Math.sin
            }
        }

        public int Radius
        {
            get
            {
                return Math.Min(this.Width, this.Height) / 2;
            }
        }
    }
}
